<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: 王宝田
  Date: 2022/8/31
  Time: 12:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>修改</title>
    <link rel="stylesheet" href="../css/login.css"/>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">

</head>


<style>
    body{
        background-image: url("../images/w3.jpg");
        background-size:contain;
        background-size:cover;
        background-repeat:no-repeat;
    }
    table
    {
        border-collapse:collapse;
    }
    table, td
    {
        border:1px solid green;
    }
    td
    {
        padding:15px;
    }

</style>
<body >
<div align="center">
    <h1>修改个人信息</h1>
    <jsp:useBean id="Teacher" class="com.wang.entity.Teacher" scope="request"></jsp:useBean>
    <%--@elvariable id="Teacher" type="com.wang.entity.Teacher"--%>
    <form:form  name="form" method="post" action="updatetm"  commandName="Teacher" >
        <table>
            <tr>
                <td>用 户 名:</td>
                <td><form:input path="tname"/></td>
            </tr>
            <tr>
                <td>性   别：</td>
                <td><form:input path="tsex"/></td>
            </tr>
            <tr>
                <td>身份证号:</td>
                <td><form:input path="ideard"/></td>
            </tr>
            <tr>
                <td>学   校：</td>
                <td><form:input path="university"/></td>
            </tr>
            <tr>
                <td>专   业：</td>
                <td><form:input path="major"/></td>
            </tr>
            <tr>
                <td>生   日：</td>
                <td><form:input path="birthday"/></td>
            </tr>
            <tr>
                <td>个人推荐：</td>
                <td><form:input path="information"/></td>
            </tr>
            <tr>
                <td>个人获奖：</td>
                <td><form:input path="prize"/></td>
            </tr>
            <tr>
                <td>电   话：</td>
                <td><form:input path="ttel"/></td>
            </tr>
            <tr>

                <td colspan="2" align="center"><input type="submit" value="提交"/></td>
            </tr>

        </table>

    </form:form>
</div>

</body>
</html>